package com.tianyi.sfzy1.mapper;

import com.tianyi.sfzy1.domain.Consultationappointment;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【consultationappointment(咨询预约表)】的数据库操作Mapper
* @createDate 2025-01-02 11:46:53
* @Entity com.tianyi.sfzy1.domain.Consultationappointment
*/
public interface ConsultationappointmentMapper {

    int deleteByPrimaryKey(int id);

    int insert(Consultationappointment record);

    int insertSelective(Consultationappointment record);

    Consultationappointment selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Consultationappointment record);

    int updateByPrimaryKey(Consultationappointment record);

    int updateFinishStatus(Integer appointmentId, Integer finishStatus);

    int insertConsultationappointment(Consultationappointment consultationappointment);

    //根据用户id和咨询状态查询所有的咨询记录
    List<Consultationappointment> findAll(int memberId,int status);

}
